DomainObjects Class Library

Collection<ContainerClass,RelatedClass>.GetCopyOfAllRelatedObjectsIncludingDeletedItems Method 

Gets a non-null copy of the set of related objects retrieved from the database, added in memory and removed in memory. Related objects that have been deleted in memory, i.e., where NeedsDelete returns true, will appear in the returned list.

This method will retrieve objects from the database if not already retrieved. Note that editing this list will not edit the list of foreign-key objects as this method just returns a copy.
public List<T> GetCopyOfAllRelatedObjectsIncludingDeletedItems();

See Also

Collection<ContainerClass,RelatedClass> Class | DomainObjects.Facade.Domain Namespace